package ioTest;

import io.RoomInput;

import java.io.FileInputStream;
import java.io.FileNotFoundException;

import junit.framework.TestCase;

public class Test_RoomInput extends TestCase {
	public void setUp() throws FileNotFoundException {
		RoomInput.roomInput = new FileInputStream("RoomInputTest.txt");
		RoomInput.cip = new RoomInputProcessor_stub();
	}
	
	public void test() {
		RoomInput.roomDataFromFile();
		assertNotNull(RoomInput.roomInput);
		assertNotNull(RoomInput.cip);
		assertNull(RoomInput.rInput);
	}	
	
	public void tearDown() {
		RoomInput.roomInput = null;
		RoomInput.cip = null;
	}
}
